package com.feng.cloud.job.executor.feign.fallback;

import com.feng.cloud.job.executor.feign.AuthService;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @ClassName AuthServiceFallback
 * @Description TODO
 * @Author Better Feng
 * @Date 2020/1/16 18:14
 * @Version 1.0
 **/
@Slf4j
@Component
public class AuthServiceFallback implements FallbackFactory<AuthService> {
    @Override
    public AuthService create(Throwable throwable) {
        return null;
    }
}
